package com.example.demo2.request;

import java.util.List;

/**
 * @author
 * @version 1.0
 * @description TODO
 * @date 2024/6/19 20:47
 */
public class CalculationRequest {
    private String calcName;
    private List<AminoData> aminoData;
    private float variable1;
    private float variable2;
    private float variable3;
    private String selectedAmino;

    public float getVariable3() {
        return variable3;
    }

    public void setVariable3(float variable3) {
        this.variable3 = variable3;
    }
    public String getSelectedAmino() {
        return selectedAmino;
    }

    public void setSelectedAmino(String selectedAmino) {
        this.selectedAmino = selectedAmino;
    }
    public String getCalcName() {
        return calcName;
    }

    public void setCalcName(String calcName) {
        this.calcName = calcName;
    }

    public List<AminoData> getAminoData() {
        return aminoData;
    }

    public void setAminoData(List<AminoData> aminoData) {
        this.aminoData = aminoData;
    }

    public float getVariable1() {
        return variable1;
    }

    public void setVariable1(float variable1) {
        this.variable1 = variable1;
    }

    public float getVariable2() {
        return variable2;
    }

    public void setVariable2(float variable2) {
        this.variable2 = variable2;
    }

    public static class AminoData {
        private String name;
        private float value;
        private float quantity;

        // getters and setters

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public float getValue() {
            return value;
        }

        public void setValue(float value) {
            this.value = value;
        }

        public float getQuantity() {
            return quantity;
        }

        public void setQuantity(float quantity) {
            this.quantity = quantity;
        }
    }
}
